//Student2.java
public class Student2 extends School  {

    public Student2(String className) {
        super(className);
    }

    public void clean(){
        System.out.println(this.className+"正在打扫卫生");
    }
    @Override
    public void play(){
        System.out.println(this.className+"正在踢足球");
    }
}
//    public int age;
//
//    public Student2(String schoolName, int age) {
//        super(schoolName);
//        this.age = age;
//    }